package com.meritdata.cloud.data.standard.table.service;

import com.meritdata.cloud.data.base.Page;
import com.meritdata.cloud.data.base.ResultData;
import com.meritdata.cloud.data.standard.table.entity.TdDictModel;

public interface IDictModelService {
	
	Page<TdDictModel> page(Long dirId, int pageNum, int pageSize, String name);
	
	TdDictModel get(Long id);
	
	ResultData create(String name, String code, String description, Long dirId, String userId);
	
	ResultData update(String name, String code, String description, Long id, String userId);
	
	ResultData delete(Long id);
	
	ResultData enable(Long id, int status);

}
